package com.rm.zeyou.util.check;/**
 *
 */

import java.util.regex.Pattern;

/**
 * Description: 手机号正则判断
 * @author : YanYang
 * @date : 2023/8/24 11:25
 */
public class ValitedPhone {

    public static boolean isValidPhoneNumber(String phoneNumber) {
        if ((phoneNumber != null) && (!phoneNumber.isEmpty())) {
            return Pattern.matches("^(?:(?:\\+|00)86)?1[3-9]\\d{9}$", phoneNumber);
        }
        return false;
    }

}
